<?php

class Thread extends AppModel {

public $useTable = 'Thread'; 

public $belongsTo = array(

        'user1' => array(
            'className'    => 'User',
            'foreignKey'   => 'user1'
        ),
        'user2' => array(
        	'className'	   => 'User',
        	'foreignKey'   => 'user2'
        )
    );


}
?>